package com.api.shopapi.service;

import com.api.shopapi.entity.ActivityItem;
import com.api.shopapi.entity.ActivityOrder;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityOrderService {


    int insert(ActivityOrder activityOrder);


    int delete(String activityOrderCode);


    int update(ActivityOrder activityOrder);

    ActivityOrder getByActivityOrderCode(String activityOrderCode);



    /**
     * 指挥中心点单列表
     * */
    PageInfo<ActivityOrder> PageByCommandCenterCode(int pageIndex, int pageSize,
                                                    String governmentCode, String commandCenterCode,int status);


    /**
     * 实践中心点单列表
     * */
    PageInfo<ActivityOrder> PageByPracticeSiteCode(int pageIndex, int pageSize, String practiceSiteCode,int status);


    /**
     * 志愿队伍点单列表
     * */
    PageInfo<ActivityOrder> PageByVolunteerTeamCode(int pageIndex, int pageSize, String volunteerTeamCode,int status);

}
